package org.filetransfer.file_transfer_java_backend.controller;
import io.swagger.v3.oas.annotations.Operation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
@RestController
@RequestMapping("/connection")
public class ConnectionController {
    @GetMapping("/test")
    @Operation(summary = "判断网络链接是否正常")
    public Boolean testConnection() {
        return true;
    }
}
